export default {
    namespaced:true,
    state:{
        // 是否以登录
        isLogined:localStorage.getItem('x-auth-token') ? true:false,
    },
    mutations:{
        // 修改是否显示登录框状态
        changeIsLogin(state,payload){
            state.isLogined = payload
        }
    }
}